package com.cskaoyan.chapter0504;

/**
 * @Author:WalterChan
 * @Decription:BoxingEqual
 * @Date Created in 2024-06-11-21:58
 */
public class BoxingEqual {
    public static void main(String[] args) {
        Integer a = Integer.valueOf(1000);
        Integer b = Integer.valueOf(1000);
        System.out.println(a==b);
        System.out.println(a.equals(b));


    }
}
